make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 1 Mar 2026 20:10:06 +0000 (21:10 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 1 Mar 2026 20:10:06 +0000 (21:10 +0100)
commit4981df5e592d81fd6568517f4ee13b467253c617
tree12066742d478517adb4925f336861ef72b6e7765
parent4fdc5ec07ae3bec241a81ca912924f44b3840a3e
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c